package edu.yuhf.domain;

import java.util.List;

import edu.yuhf.Contants;

public class Page<T> {

	private int currentPage;
	private int rowNum=Contants.ROW_NUMBER;
	private int totalPage;
	private int totalRow;
	private List<T> list;
	public int getCurrentPage() {
		return currentPage;
	}
	
	public int getRowNum() {
		return rowNum;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public int getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public int getTotalRow() {
		return totalRow;
	}
	public void setTotalRow(int totalRow) {
		this.totalRow = totalRow;
	}
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> list) {
		this.list = list;
	}
	
}
